import Vue from 'vue'
import Router from 'vue-router'

import { ComponentA } from "../components/ComponentA";
import { ComponentB } from "../components/ComponentB";

Vue.use(Router)
export default new Router({
  mode: "history",
  routes:
    [
      {
        path: '/',
        component: ComponentA
      },
      {
        path: '/componentA',
        component: ComponentA
      },
      {
        path: '/componentB',
        component: ComponentB
      }
    ]

})
